package com.crowntit.test.types.rule02.logic;

import com.crowntit.test.types.rule02.factory.Rule02TradeRuleFactory;
import com.crowntit.types.design.framework.link.model2.handler.ILogicHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class RuleLogic202 implements ILogicHandler<String, Rule02TradeRuleFactory.DynamicContext, XxxResponse> {
    @Override
    public XxxResponse apply(String requestParam, Rule02TradeRuleFactory.DynamicContext dynamicContext) throws Exception {
        log.info("责任链02-201节点：{}", requestParam);
        return new XxxResponse("02Response");
    }
}